<template>
	<view class="index"></view>
</template>

<script>
//中间页
export default {
	data() {
		return {};
	},
	onLoad() {
	},
	onShow() {
		this.loadExecution();
	},
	methods: {
		loadExecution() {
			if (this.vuex_launch_flag && this.vuex_login_flag) {
				uni.$common.navigateTo('/pages/index');
			} else if (this.vuex_launch_flag) {
				uni.$common.navigateTo('/pages/login/login');
			} else {
				uni.$tn.vuex('vuex_launch_flag', true);
				uni.$common.reLaunch('/pages/guide/guide');
			}
		}
	}
};
</script>

<style lang="scss" scoped></style>
